

<div class="text-center">
<h2>请扫码登录</h2>
<p>
<img id="qrimg" style="max-height:235px;" src="/img/ajax/circle_ball.gif">
</p>
<p id="qrtime">
正在获取后台进程登录二维码
</p>
</div>

<script>
$(function(){
	setInterval(function(){
		ajaxAction('/bots/checkQr/{{$run_code}}.json',null,null,function(request){
			//console.log(request);
			$('#qrimg').attr('src','https://login.weixin.qq.com/qrcode/'+request.bot.Bot.uuid);
			$('#qrtime').html(request.bot.Bot.qr_time);
		});
	},3000);
})
</script>
